package day01;

public class Xiancheng4 {

	public static void main(String[] args) {
		Thread t =new MM();
		Thread tt=new MM();
		t.setName("第一个");
		tt.setName("第二个");
		t.start();
		tt.start();		
	}

}
class MM extends Thread {
	public void run() {
		Thread t1=Thread.currentThread();
		String a=t1.getName();
		System.out.println(a+"我是你哥");
	}
}
